package com.uubx.mapper;

import com.sun.javafx.collections.MappingChange;
import com.uubx.pojo.Policy;
import com.uubx.vo.PolicyListVo;
import com.uubx.vo.PolicyVo;

import java.util.List;
import java.util.Map;

/**
 * @Author wyy
 * @Date 2020/12/28 10:33
 * @Version 1.0
 */
public interface PolicyMapper {

    /**
     *  条件分页查询
     * @param policyVo
     * @return
     */
    public List<Map> findPolicyWhere(PolicyVo policyVo);

    /**
     * 根据id查询数据
     * @param id
     * @return
     */
    public PolicyListVo findPolicyById(Long id);


}
